package com.oreilly.ez.base;

public class RequestHolder {

    private final static ThreadLocal<String> requestHolder = new ThreadLocal<>();

    public static void setRequestId(String id) {
        requestHolder.set(id);
    }
    public static String getRequestId() {
        return requestHolder.get();
    }


    public static void remove() {
        requestHolder.remove();
    }


}
